import Ax from '../api';

export default {
  roomLogicRuleAdd: (param = {}) => Ax.post(`/roomLogicRule/add`, param),
  roomLogicRuleEdit: (param = {}) => Ax.post(`/roomLogicRule/edit`, param),
  roomLogicRuleDelete: (query) => Ax.delete(`/roomLogicRule/delete?_id=${query._id}`),
  roomLogicRuleList: (query) => Ax.get(`/roomLogicRule/list?roomId=${query.roomId}`),
};